# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit vala waf

DESCRIPTION="A lightweigth terminal written in Vala"
HOMEPAGE="http://gitorious.org/valaterm/"
SRC_URI="http://vala-overlay.googlecode.com/files/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls -debug"

RDEPEND=">=x11-libs/gtk+-2.16:2
	>=x11-libs/vte-0.20:0"
DEPEND="${RDEPEND}
	>=dev-lang/vala-0.10"

DOCS="AUTHORS NEWS README TODO"

VALA_REQUIRED_VERSION="0.12"

src_configure() {
	use nls || WCONF="${WCONF} --disable-nls"
	use debug && WCONF="${WCONF} --debug"

	waf_src_configure
}
